<%@ page language="java" contentType="text/html; charset=UTF-8"
          pageEncoding="UTF-8" isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<table id="table_expertCertificate"></table>
<script>
    var $able_expertCertificate = $('#table_expertCertificate');
    $able_expertCertificate.bootstrapTable({
        data:${data},
        striped: true,
        height:272,
        columns: [
            {
                formatter: function (value, row, index) {
                    return index + 1;
                }
            },

            {
                field: 'name',
                title: '证书名称'
            },
            {
                field: 'num',
                title: '证书编号'
            },
            {
                field: 'startTime',
                title: '发证日期',
                formatter: function (value, row, index) {
                    return [$.sysPlugin.int2DateString(value)].join('');
                }
            },
            {
                field: 'endTime',
                title: '有效期至',
                formatter: function (value, row, index) {
                    return [$.sysPlugin.int2DateString(value)].join('');
                }
            }
        ]
    });
</script>